<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('organization_role/index')}">身份列表</a></li>
			<li><a href="{:url('organization_role/add')}">新增身份</a></li>
		</ul>
		<br>
		<form method="post" class="js-ajax-form margin-top-20" action="{:url('organization_role/listOrder')}">
		<table class="table table-hover table-bordered">
			<div class="table-actions">
	            <button class="btn btn-sm btn-primary js-ajax-submit" type="submit">{:lang('SORT')}</button>
	        </div>
			<thead>
				<tr>
					<th width="50">{:lang('SORT')}</th>
					<th>身份名称</th>
					<th width="140">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>
					<td>
						<input name='list_orders[{$vo.id}]' class="input input-order mr5" type='text' size='3' value='{$vo.list_order}'>
                    </td>
					<td>{$vo.title}</td>
					<td>
						<a class="btn btn-xs btn-primary" href='{:url("organization_role/edit",array("id"=>$vo["id"]))}'>{:lang('EDIT')}</a>
						<a class="btn btn-xs btn-danger js-ajax-delete" href='{:url("organization_role/delete",array("id"=>$vo["id"]))}'>{:lang('DELETE')}</a>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>